package ZuoYe4_forXunHuan_0421;

public class ZuoYe_YuXi {

	public static void main(String[] args) {
		// 定义一个数组，求他们的积并输出
		int sum = 1;
		int[] s = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
		for (int i = 0; i < 10; i++) {
			sum *= s[i];
		}
		System.out.println(sum);
	}

}
